package com.xidian.zhiancloud.model.syset;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xidian.zhiancloud.util.api.Excel;
import lombok.Data;

/**
 * @author yb
 */
@Data
@TableName("t_org")
public class Organization {
    
    @Excel(name = "序号")
	private Long id;
	
	private Long pid;//父部门ID
    
    @Excel(name = "部门名称")
	private String name;//名称
    @Excel(name = "编码")
    private String code;//编码

    @Excel(name = "是否是安全部门",readConverterExp = "1=不是,0=是")
    private Integer isafeorg;//是否是安全部门
	
    private BigDecimal longitude;//经度
	
    private BigDecimal latitude;//维度
	
    private Integer orglevelid;//组织层级ID
    @Excel(name = "组织机构类型")
    private String typename;//组织机构类型
	
    private Integer personums;
	
    private Integer leadUserid;//负责人ID
    @Excel(name = "负责人")
    private String leadname;//负责人名称
	@Excel(name = "固定电话")
    private String officetel;//固定电话
	
    private Date createtime;//创建时间
	
    private Date updatetime;//更新时间
	
    private Long companyId;//公司ID

}
